package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * <p>Description: 编码明细表</p>
 * </p>
 *
 * @author chenbin
 * @since 2018-08-13
 */
@TableName("SYS_CODE_DEF_DETAIL")
public class SysCodeDefDetail extends Model<SysCodeDefDetail> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("CODE_DEF_ID")
    private String codeDefId;
    @TableField("SEGMENT_TYPE")
    private String segmentType;
    @TableField("SERIAL_NUM")
    private Integer serialNum;
    @TableField("SEGMENT_LENGTH")
    private Integer segmentLength;
    @TableField("FILLING_TYPE")
    private String fillingType;
    @TableField("SEGMENT_CONTENT")
    private String segmentContent;
    @TableField("SEGMENT_CATEGORY")
    private String segmentCategory;
    @TableField("DATE_FORMAT")
    private String dateFormat;
    @TableField("SEGMENT_DESC")
    private String segmentDesc;
    @TableField("CREATE_USER")
    private String createUser;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("UPDATE_USER")
    private String updateUser;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getCodeDefId() {
        return codeDefId;
    }

    public void setCodeDefId(String codeDefId) {
        this.codeDefId = codeDefId;
    }

    public String getSegmentType() {
        return segmentType;
    }

    public void setSegmentType(String segmentType) {
        this.segmentType = segmentType;
    }

    public Integer getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }

    public Integer getSegmentLength() {
        return segmentLength;
    }

    public void setSegmentLength(Integer segmentLength) {
        this.segmentLength = segmentLength;
    }

    public String getFillingType() {
        return fillingType;
    }

    public void setFillingType(String fillingType) {
        this.fillingType = fillingType;
    }

    public String getSegmentContent() {
        return segmentContent;
    }

    public void setSegmentContent(String segmentContent) {
        this.segmentContent = segmentContent;
    }

    public String getSegmentCategory() {
        return segmentCategory;
    }

    public void setSegmentCategory(String segmentCategory) {
        this.segmentCategory = segmentCategory;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public String getSegmentDesc() {
        return segmentDesc;
    }

    public void setSegmentDesc(String segmentDesc) {
        this.segmentDesc = segmentDesc;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "SysCodeDefDetail{" +
        ", pkId=" + pkId +
        ", codeDefId=" + codeDefId +
        ", segmentType=" + segmentType +
        ", serialNum=" + serialNum +
        ", segmentLength=" + segmentLength +
        ", fillingType=" + fillingType +
        ", segmentContent=" + segmentContent +
        ", segmentCategory=" + segmentCategory +
        ", dateFormat=" + dateFormat +
        ", segmentDesc=" + segmentDesc +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", delFlag=" + delFlag +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
